<template>
  <div id='recommend'>
    <div v-for="item in recommend" class="recommend-item">
      <a :href="item.link"><img :src="item.image" alt="">
        <div>{{item.title}}</div>
      </a>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'recommend',
    data() {
      return {}
    },
    props: {
      recommend: {
        type: Array,
        default() {

        }
      }
    },
    components: {},
    methods: {},
  }
</script>

<style scoped>
  #recommend {
    display: flex;
    height: 150px;
    font-size: 14px;
    border-bottom: 10px solid #333;
  }

  .recommend-item {
    flex: 1;
    text-align: center;

  }

  .recommend-item img {
    width: 80px;
    margin: 20px 0 10px;
  }
</style>